﻿<UserControl 
  x:Class="iTFF.WPF.Model.Toaster.UI.Default"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  MinWidth="300" MaxWidth="450"
  Height="85">
  <Grid>
    <Border CornerRadius="5" BorderBrush="#3D3B3E" BorderThickness="1">
      <Border.Background>
        <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
          <GradientStop Color="#323034" Offset="0" />
          <GradientStop Color="#000200" Offset="0.4" />
          <GradientStop Color="#000200" Offset="1" />
        </LinearGradientBrush>
      </Border.Background>

      <Grid TextBlock.Foreground="{Binding ToasterSkin.ForegroundBrush}">
        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="5" />
          <ColumnDefinition Width="*" />
          <ColumnDefinition Width="Auto" />
          <ColumnDefinition Width="5" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
          <RowDefinition Height="5" />
          <RowDefinition Height="*" />
          <RowDefinition Height="5" />
          <RowDefinition Height="*" />
          <RowDefinition Height="*" />
          <RowDefinition Height="5" />
        </Grid.RowDefinitions>

        <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Title}" FontWeight="Bold" />

        <Border Grid.Row="2" Grid.ColumnSpan="4" BorderThickness="1" Height="1">
          <Border.BorderBrush>
            <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
              <GradientStop Color="#C2C4C1" Offset="0" />
              <GradientStop Color="#000200" Offset="0.5" />
            </LinearGradientBrush>
          </Border.BorderBrush>
        </Border>

        <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding Artist}" />

        <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding Album}" />

        <Image Grid.Column="2" Grid.Row="1" Grid.RowSpan="4" Source="{Binding ImageSource}" Height="70" Width="70" />

      </Grid>

    </Border>
  </Grid>
</UserControl>
